package myfamily.model;

public class Education {
	/**
	 * 
	 */
	
	private String institutionName;
	private String qualificationGained;
	private Education alsoStudiedAt;
	
	
	public Education() {
	}
	
	public Education(String inst, String qual)
	{
		this.institutionName = inst;
		this.qualificationGained = qual;
		this.setAlsoStudiedAt(null);
	}
	
	/**
	 * @return the institutionName
	 */
	public String getInstitutionName() {
		return institutionName;
	}

	/**
	 * @param institutionName the institutionName to set
	 */
	public void setInstitutionName(String institutionName) {
		this.institutionName = institutionName;
	}

	/**
	 * @return the qualificationGained
	 */
	public String getQualificationGained() {
		return qualificationGained;
	}

	/**
	 * @param qualificationGained the qualificationGained to set
	 */
	public void setQualificationGained(String qualificationGained) {
		this.qualificationGained = qualificationGained;
	}

	/**
	 * @param alsoStudiedAt the alsoStudiedAt to set
	 */
	public void setAlsoStudiedAt(Education alsoStudiedAt) {
		this.alsoStudiedAt = alsoStudiedAt;
	}

	/**
	 * @return the alsoStudiedAt
	 */
	public Education getAlsoStudiedAt() {
		return alsoStudiedAt;
	}
	
}
